/**
 * Created by sunday on 2017/6/1.
 */
import java.io.*;

public class CharUtilxt {
    public static void dump(Reader src, Writer dest) throws IOException {
        try(Reader input = src; Writer output = dest) {
            char[] data = new char[8];
            char []ch = new char[1];

            while((input.read(data)) != -1) {
                String str="";
                for(int i=0;i<8;i++)
                {
                    str+=data[i];
                }
                int ten=Integer.valueOf(str,2);
                ch[0]=(char)ten;
                output.write(ch, 0, 1);
            }
        }
    }
}